{include file="common/header"}
<div class="content-wrapper">
    {include file="withdraw/nav"/}
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="nav-tabs-custom">
                    {include file="withdraw/tabs"/}
                    <div class="tab-content">
              
                            <div class="panel panel-info">

                                <div class="panel-body">
                                    <form class="form-horizontal" method="get" role="form">
                                        <div class="form-group">
                                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">关键词</label>
                                            <div class="col-sm-6 col-md-8 col-lg-8 col-xs-12">
                                                <input type="text" class="form-control" name="keyword" value="{$_GET['keyword']?$_GET['keyword']:''}" placeholder="请输入提现账号、姓名、手机号关键词">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">状态</label>
                                            <div class="col-sm-6 col-md-8 col-lg-8 col-xs-12">
                                                <label class="checkbox-inline">
                                                    <input type="checkbox" name="status[]" {if !empty($_GET['status']) && in_array(0,$_GET['status'])}checked{/if} value="0">
                                                    待审核
                                                </label>
                                                <label class="checkbox-inline">
                                                    <input type="checkbox" name="status[]" {if !empty($_GET['status']) && in_array(1,$_GET['status'])}checked{/if} value="1">
                                                    已发放
                                                </label>
                                                <label class="checkbox-inline">
                                                    <input type="checkbox" name="status[]" {if !empty($_GET['status']) && in_array(-1,$_GET['status'])}checked{/if} value="-1">
                                                    审核未通过
                                                </label>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-6 col-md-8 col-lg-8 col-xs-12 col-md-offset-2 col-lg-offset-2 col-sm-offset-4">
                                                <button class="btn btn-primary"><i class="fa fa-search"></i> 搜索</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                            
                                <div class="panel panel-default ">
                                    <div class="table-responsive panel-body">
                                        <table class="table table-hover">
                                        
                                            <tr>
                                                <th style="width: 45px">删?</th>
                                                <th>提现ID</th>
                                                <th>用户名</th>
                                                <th>状态</th>
                                                <th>申请时间</th>                 
                                            </tr>
                                        
                                                {volist name="list" id="item"}
                                                <tr>
                                                    <td>
                                                        <input type="checkbox" name="ids[]" value="{$item['id']}">
                                                    </td>
                                                    <td>{$item['id']}</td>
                                                    <td>{$item['username']}</td>
                                                    <td>
                                                        {if $item['status'] == 0}
                                                        <label class="label label-info">待审核</label>
                                                        {elseif $item['status'] == 1}
                                                        <label class="label label-success">已发放</label>
                                                        {else}
                                                        <label class="label label-danger">审核未通过</label>
                                                        {/if}
                                                    </td>
                                                    <td>
                                                        {$item.create_time}
                                                    </td>                     
                                                </tr>
                                                {/volist}
                                        </table>
                                    </div>
                                </div>
                            {$pager}
                        </div>
                  
                    <!-- /.tab-content -->
                </div>
                <!-- /.nav-tabs-custom -->
            </div>
            <!-- /.col -->
        </div>
    </section>
</div>

